package com.fqgj.xjd.user.common.enums;

public enum TaskStatusEnum {
    INIT(0, "初始化"),
    SUCCESS(1, "成功"),
    FAILED(2, "失败");

    private int status;
    private String desc;

    TaskStatusEnum(int status, String desc) {
        this.status = status;
        this.desc = desc;
    }

    public int getStatus() {
        return status;
    }

    public TaskStatusEnum setStatus(int status) {
        this.status = status;
        return this;
    }

    public String getDesc() {
        return desc;
    }

    public TaskStatusEnum setDesc(String desc) {
        this.desc = desc;
        return this;
    }
}
